package com.liumo;

import com.liumo.domain.User;
import com.liumo.utils.LoginSystem;

import java.util.Scanner;

public class BinaryOperationApp {
   public static void main(String[] args) {
       Scanner scan = new Scanner(System.in);
       boolean flag = true;
       while (flag){
           User user = LoginSystem.login();
           user.start(scan);
           System.out.println("继续登录请按1,退出按任意键确定");
           int i = scan.nextInt();
           if (i != 1)
               flag = false;
       }
   }
}
